package com.ken.user.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
@Data
public class studyRecordDto {
    //学习者的id
    private String student_id;
    //学习的课时id
    private String lesson_id;
    //开始的时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime start_time;
    //结束的时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime end_time;
    //学习的总时间
    private long total_time;
}
